home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -readerstuff- / mohamad_arab / gasstarter / gasstarter2.1_install < prev    next >
Text File  |  1999-06-14  |  2KB  |  58 lines

  1. ; Auto GAS ('Game Application Script') install scaript !
  2.  
  3. (set startgame-dest
  4.         (askdir
  5.                 (prompt "Where do you want to copy StartGame 2 ?")
  6.                 (help "C: is preferd (read docs for more information)")
  7.                 (default "C:")
  8.         )
  9. )
  10.  
  11. (copyfiles
  12.         (prompt "Copying StartGame 2 to %s " startgame-dist)
  13.         (source "StartGame2")
  14.         (dest startgame-dest)
  15.         (files)
  16. )
  17.  
  18. (set @default-dest
  19.         (askdir
  20.                 (prompt "Where do you want to copy GameStarter ?")
  21.                 (help "For more information read docs")
  22.                 (default "Sys:Utilities")
  23.         )
  24. )
  25.  
  26. (copyfiles
  27.         (prompt "Copying GameStarter 2 to %s " @dest-name)
  28.         (source "GASStarter2.1")
  29.         (dest @default-dest)
  30.         (files)
  31.         (infos)
  32. )
  33.  
  34. (set boolean
  35.         (askbool
  36.                 (prompt "We need to modify your S:StartUp-Sequence \nThe following line will be added just after SetPatch\n" startgame-dest "StartGame")
  37.                 (help "If you select MANUAL you must add this line in your S:Startup-Sequence file\n")
  38.                 (choices "Add" "Manual")
  39.                 (default 1)
  40.         )
  41. )
  42.  
  43. (if boolean
  44.         (
  45.         (rename "S:StartUp-Sequence" "S:StartUp-Sequence_OLD")
  46.         (textfile
  47.                 (prompt "Adding some lines to your StartUp-Sequence ...")
  48.                 (help "See docs for more information")
  49.                 (dest "S:StartUp-Sequence")
  50.                 (append ";BEGIN AGAS\n" startgame-dest "StartGame\n;END AGAS\n")
  51.                 (include "S:StartUp-Sequence_OLD")
  52.         )
  53.  
  54.         (message "Your old StartUp-Sequence renamed as: \nStartUp-Sequence_OLD")
  55.         )
  56. )
  57.  
  58.